package com.anghui.demo.mapper;

import com.anghui.demo.domain.RmProject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface RmProjectMapper extends BaseMapper<RmProject> {

    List<RmProject> selectRmProjectList(IPage<RmProject> rmProjectPage);

    int deleteProjects(@Param(Constants.WRAPPER) LambdaQueryWrapper<RmProject> wrapper);
}
